*{
    margin: 0;
    padding: 0;

}
body{
    background-color: rgb(24, 43, 41);
    /* 弹性布局，水平，垂直居中 */
    display:flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}
h1{
    color: rgb(42, 86, 77);
    text-transform: uppercase;
    font-size: 60px;
    position: relative;
    margin: 0;
    padding: 0;
}
h1::after{

    content: "secret library";
    color: transparent;
    position: absolute;
    top:0;
    left: 0;
    background: linear-gradient(to right,#f22f59,#f2e22f,#62e68e);
    background-clip: text;
    -webkit-background-clip: text;
    clip-path: circle(100px at 0% 50%);
    animation: light 5s infinite;


}
/* 定义动画，改变圆心位置 */
@keyframes light{
    0%{
        clip-path:circle(100px at 0% 50%);
    }
    50%{
        clip-path:circle(100px at 100% 50%);
    }
    100%{
        clip-path:circle(100px at 0% 50%);
    }
}